package queues

import "06-GenericsTest/containers"

// Queue 泛型队列接口
type Queue[T comparable] interface {
	Enqueue(value T)
	Dequeue() (value T, ok bool)
	Peek() (value T, ok bool)

	containers.Container[T]
}
